xen/arm: Fix compilation error when early printk is enabled
authorMichal Orzel <michal.orzel@arm.com>
Thu, 21 Jan 2021 09:30:41 +0000 (10:30 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 21 Jan 2021 21:41:21 +0000 (13:41 -0800)
commit24114840ea4f82b6958ba0d7ac5e4cec44aafe11
tree43df14406cb8aafde26aac48526ffc8c5a1dcb98
parentdbf22970f5df8d20b2a6b7107cb9d977630181a6
xen/arm: Fix compilation error when early printk is enabled

Fix compilation error when enabling early printk, introduced
by commit aa4b9d1ee6538b5cbe218d4d3fcdf9548130a063:
```
debug.S: Assembler messages:
debug.S:31: Error: constant expression expected at operand 2 -- `ldr x15,=((0x00400000+(0)*PAGE_SIZE)+(0x1c090000&~PAGE_MASK))`
debug.S:38: Error: constant expression expected at operand 2 -- `ldr x15,=((0x00400000+(0)*PAGE_SIZE)+(0x1c090000&~PAGE_MASK))`
```

The fix is to include header <xen/page-size.h> which now contains
definitions for page/size/mask etc.

Fixes: aa4b9d1ee653 ("include: don't use asm/page.h from common headers")
Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/early_printk.h